package com.wu.common.entity;

import lombok.Getter;

/**
 * @author whx
 * @date 2021/7/9
 */
public enum ResultDataEnum {
    SUCCESS(1,"请求成功"),
    FAIL(0,"请求失败");

    @Getter
    private final int state;
    @Getter
    private final String message;

    ResultDataEnum(int state, String message) {
        this.state = state;
        this.message = message;
    }
}
